package com.jk.smartelderlycare.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@TableName(value = "sys_supplier")
@ExcelTarget(value = "信息")  //表头
public class SysSupplier implements Serializable {
    private static final long serialVersionUID = -7548825179659144385L;
    @TableId(value = "supplier_id",type = IdType.AUTO)
    private Long supplierId;
    @Excel(name = "供应商名称")
    private String supplierName;
    @Excel(name = "供应商编码")
    private String supplierNum;
    @Excel(name = "订货量")
    private String supplierQuantity;
    @Excel(name = "订货金额")
    private Double supplierPrice;
    @Excel(name = "到货量")
    private String supplierArrival;
    @Excel(name = "到货金额")
    private Double arrivalPrice;
    @Excel(name = "采购运费")
    private String freight;
    @Excel(name = "在途数量")
    private String supplierTransit;
    @Excel(name = "在途金额")
    private BigDecimal transitPrice;
    @Excel(name = "取消数量")
    private String cancelNum;
    @Excel(name = "取消金额")
    private Double cancelPrice;
    @Excel(name = "退货数量")
    private String returnQuantity;
    @Excel(name = "退货金额")
    private Double returnPrice;
    @Excel(name = "退货运费")
    private String returnFreight;

    private String warehouse;

    private Date createData;
    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间




}